/**
 * @ClassName Demo04
 * @Description TODO
 * @Author Li
 * @Date 2022/8/14 15:06
 * @ModifyDate 2022/8/14 15:06
 * @Version 1.0
 */
public class Demo04 {
    private static void startThread(Runnable task){
        new Thread(task).start();
    }

    public static void main(String[] args) {
        startThread(()-> System.out.println("线程任务开始执行！"));
    }
}
